package com.china08.yxyapi.entity.db.huodong.lecture;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.china08.yxyapi.entity.BaseEntity;

@Entity
@Table(name = "yxy_huodong_res_temp", catalog = "yxy_huodong", uniqueConstraints = {
        @UniqueConstraint(columnNames = { "school_id", "tea_id", "type" }) })
public class YxyHuodongResTemp extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -768257460788014826L;

    @Column(name = "tea_id", columnDefinition = "varchar(32) comment '教师id' ")
    private String teaId;

    @Column(columnDefinition = "varchar(255) comment '教师名称' ")
    private String teaName;

    /**
     * 学校id
     */
    @Column(name = "school_id", columnDefinition = "varchar(255) comment '学校id' ")
    private String schoolId;

    /**
     * 学校名称
     */
    @Column(name = "school_nick")
    private String schoolNick;

    /**
     * 学校名称
     */
    @Column(name = "type", length = 255)
    private String type;

    @Column(length = 5)
    private Integer count = 0;

    /** 行政区域:省ID */
    @Column(name = "area_id_province")
    private String areaIdProvince;

    /** 行政区域:市ID */
    @Column(name = "area_id_city")
    private String areaIdCity;

    /** 行政区域:区县ID */
    @Column(name = "area_id_district")
    private String areaIdDistrict;

    public String getAreaIdProvince() {
        return areaIdProvince;
    }

    public void setAreaIdProvince(String areaIdProvince) {
        this.areaIdProvince = areaIdProvince;
    }

    public String getAreaIdCity() {
        return areaIdCity;
    }

    public void setAreaIdCity(String areaIdCity) {
        this.areaIdCity = areaIdCity;
    }

    public String getAreaIdDistrict() {
        return areaIdDistrict;
    }

    public void setAreaIdDistrict(String areaIdDistrict) {
        this.areaIdDistrict = areaIdDistrict;
    }

    public String getTeaId() {
        return teaId;
    }

    public void setTeaId(String teaId) {
        this.teaId = teaId;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolNick() {
        return schoolNick;
    }

    public void setSchoolNick(String schoolNick) {
        this.schoolNick = schoolNick;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

}
